Rock properties prediction, categorization, and recognition from NMR echo-trains using linear and nonlinear regression

ABSTRACT

A partial least squares (PLS) regression relates spin echo signals with samples having a known parameter such as bound water (BW), clay bound water (CBW), bound volume irreducible (BVI), porosity (PHI) and effective porosity (PHE). The regression defines a predictive model that is validated and can then be applied to spin echo signals of unknown samples to directly give an estimate of the parameter of interest. The unknown samples may include earth formations in which a NMR sensor assembly is conveyed in a borehole.

CROSS-REFERENCES TO RELATED APPLICATIONS

This application claims priority from U.S. Provisional Patent Application Ser. No. 60/554,121 filed on Mar. 18, 2004.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The invention is related to the field of Nuclear Magnetic Resonance (NMR) apparatus and methods. In particular, the invention is directed towards the use of regression techniques for analysis of NMR data and for determination of the properties of materials being examined using a NMR apparatus.

2. Description of the Related Art

The description of the invention and its background are approached in the context of measurement while drilling apparatus and methods for analysis of properties of earth formation. It is to be understood that the invention is not limited to this field of study.

NMR methods are among the most useful non-destructive techniques of material analysis. When hydrogen nuclei are placed in an applied static magnetic field, a small majority of spins are aligned with the applied field in the lower energy state, since the lower energy state in more stable than the higher energy state. The individual spins precess about the applied static magnetic field at a resonance frequency also termed as Larmor frequency. This frequency is characteristic to a particular nucleus and proportional to the applied static magnetic field. An alternating magnetic field at the resonance frequency in the Radio Frequency (RF) range, applied by a transmitting antenna to a subject or specimen in the static magnetic field flips nuclear spins from the lower energy state to the higher energy state. When the alternating field is turned off, the nuclei return to the equilibrium state with emission of energy at the same frequency as that of the stimulating alternating magnetic field. This RF energy generates an oscillating voltage in a receiver antenna whose amplitude and rate of decay depend on the physicochemical properties of the material being examined. The applied RF field is designed to perturb the thermal equilibrium of the magnetized nuclear spins, and the time dependence of the emitted energy is determine by the manner in which this system of spins return to equilibrium magnetization. The return is characterized by two parameters: T₁, the longitudinal or spin-lattice relaxation time; and T₂, the transverse or spin-spin relaxation time.

Measurements of NMR parameters of fluid filling the pore spaces of the earth formations such as relaxation times of the hydrogen spins, diffusion coefficient and/or the hydrogen density is the bases for NMR well logging. NMR well logging instruments can be used for determining properties of earth formations including the fractional volume of pore space and the fractional volume of mobile fluid filling the pore spaces of the earth formations.

Various sequences (selectable length and duration) of RF magnetic fields are imparted to the material, which are being investigated to momentarily re-orient the nuclear magnetic spins of the hydrogen nuclei. RF signals are generated by the hydrogen nuclei as they spin about their axes due to precession of the spin axes. The amplitude, duration and spatial distribution of these RF signals are related to properties of the material which are being investigated by the particular NMR techniques being used. In the well logging environment, contrast is high between free and bound fluids based on their relaxation times, between oil and water based on their relaxation times and diffusion coefficient. Based on NMR measurements, it is possible to infer something about the porosity distribution of earth formations and the fluids therein.

Methods of using NMR measurements for determining the fractional volume of pore space and the fractional volume of mobile fluid are described, for example, in Spin Echo Magnetic Resonance Logging: Porosity and Free Fluid Index Determination, M. N. Miller et al, Society of Petroleum Engineers paper no. 20561, Richardson, Tex., 1990. In porous media there is a significant difference in T1 and T2 relaxation time spectrum of fluids mixture filling the pore space. Thus, for example, light hydrocarbons and gas may have T1 relaxation time of about several seconds, while T2 may be thousand times less. This phenomenon is due to diffusion effect in internal and external static magnetic field gradients. Internal magnetic field gradients are due to magnetic susceptibility difference between rock formation matrix and pore filling fluid.

Since oil is found in porous rock formation, the relationships between porous rocks and the fluids filling their pore spaces are extremely complicated and difficult to model. Nuclear magnetic resonance is sensitive to main petrophysical parameters, but has no capabilities to establish these complex relationships. Oil and water are generally found together in reservoir rocks. Since most reservoir rocks are hydrophilic, droplets of oil sit in the center of pores and are unaffected by the pore surface. The water-oil interface normally does not affects relaxation, therefore, the relaxation rate of oil is primarily proportional to its viscosity. However, such oil by itself is a very complex mixture of hydrocarbons that may be viewed as a broad spectrum of relaxation times. In a simplest case of pure fluid in a single pore there are two diffusion regimes that govern the relaxation rate. Rocks normally have a very broad distribution of pore sizes and fluid properties. Thus it is not surprising that magnetization decays of fluid in rock formations are non-exponential. The most commonly used method of analyzing relaxation data is to calculate a spectrum of relaxation times. The Carr-Purcell-Meiboom-Gill (CPMG) pulse sequence is used to determine the transverse magnetization decay. The non-exponential magnetization decays are fit to the multi-exponential form: $\begin{matrix} {{M(t)} = {\sum\limits_{i = 1}^{L}\quad{{m\left( T_{2i} \right)}{\mathbb{e}}^{{- t}/T_{2i}}}}} & (1) \end{matrix}$ where M(t) represents the spin echo amplitudes, equally spaced in time, and the T_(2i) are predetermined time constants, equally spaced on a logarithm scale, typically between 0.25 ms and 4000 ms. The set of m are found using a regularized nonlinear least squares technique. The function m(T_(2i)), conventionally called a T₂ distribution, usually maps linearly to a volumetrically weighted distribution of pore sizes.

The calibration of this mapping is addressed in several publications. Prior art solutions seek a solution to the problem of mathematical modeling of the received echo signals by the use of several techniques, including the use of non-linear regression analysis of the measurement signal; non-linear least square fit routines, as disclosed in U.S. Pat. No. 5,023,551 to Kleinberg et al, and others. Other prior art techniques include a variety of signal modeling techniques, such as polynomial rooting, singular value decomposition (SVD) and miscellaneous refinements thereof, to obtain a better approximation of the received signal. A problem with prior art signal compressions is that some information is lost.

U.S. Pat. No. 4,973,111 to Haacke describes a method for parametric image reconstruction from sampled NMR measurement data. In the method disclosed therein, the desired object function is approximated by a series of known model functions having a finite number of unknown parameters. Because the direct equations are highly non-linear, the problem is simplified by using all-pole parameter estimation, in which the unknown parameters are the roots of a polynomial equation. The coefficients of this equation are obtained as the solution vector to a system of linear prediction equations, which involve the received measurement data. The solution of the linear prediction system, as suggested in Haacke, is found by applying Singular Value Decomposition (SVD) to the linear prediction data matrix of the measurement signal. This approach is shown to reduce the effects of the measurement noise and estimate the order of the model functions.

Due to the large size of the involved matrices, however, the method of Haacke is computationally quite intensive and while suitable for off-line processing does not lend itself to real-time applications of NMR well logging. In addition, the method does not take into account information about the material under investigation or the measurement process, which can be used to simplify the computations.

U.S. Pat. No. 5,363,041 to Sezginer teaches use of a SVD and compression of raw NMR data and further a non-negative linear least square fit to obtain a distribution function. U.S. Pat. No. 5,517,115 to Prammer discloses a method of using a priori information about the nature of the expected signals to obtain an approximation of the signal using a set of pre-selected basis functions. A singular value decomposition is applied to a matrix incorporating information about the basis functions, and is stored off-line in a memory. During the actual measurement, the apparatus estimates a parameter related to the SNR of the received NMR echo trains and uses it to determine a signal approximation model in conjunction with the SVD of the basis function matrix.

All of the above discussed prior art methods rely on a two step procedure. For example, in the first step, the NMR data are inverted to give a distribution of relaxation times (T₁ or T₂). In the second step, some inference is drawn about the formation fluids and porosity distribution based on the relaxation time distribution. There is a certain amount of empiricism involved in each of the steps of the two step procedure, resulting in possible accumulation of errors from the individual steps. The two step procedure is avoided in U.S. Pat. No. 6,040,696 to Ramakrishnan et al. wherein an inversion method is used to derive parameters of the pore distribution in carbonates.

Thus, notwithstanding the advances in the prior art, it is perceived that the problems involved in the parameter model estimation used in NMR sensing methods for well logging have not yet been resolved. No efficient solutions have been proposed to combine advanced mathematical models with simple signal processing algorithms to increase the accuracy and numerical stability of the parameter estimates. Existing solutions require the use of significant computational power which makes the practical use of those methods inefficient, and frequently impossible to implement in real-time applications.

SUMMARY OF THE INVENTION

One embodiment of the invention is a method of determining a parameter of interest of an earth formation. A nuclear magnetic resonance (NMR) sensing apparatus is conveyed into a borehole in the earth formation. An NMR signal indicative of the parameter of interest is obtained. A predictive model is used for estimating from the NMR signal a value of the parameter of interest. The NMR sensing apparatus may be conveyed downhole on a wireline or on a bottomhole assembly on a drilling tubular. The parameter of interest is may be bound volume irreducible, effective porosity, bound water, clay-bound water, and/or total porosity. The predictive model may be obtained using a partial least squares regression and may be a linear model. The predictive model may be derived from NMR signals obtained from a plurality of rock samples, and/or from simulated NMR signals. The predictive model may be validated prior to use. The earth formation may include a sandstone or a carbonate.

Another embodiment of the invention is an apparatus for determining a parameter of interest of an earth formation. The apparatus includes a nuclear magnetic resonance (NMR) sensing apparatus conveyed into a borehole in the earth formation. The NMR apparatus obtains an NMR signal indicative of the parameter of interest from the earth formation. The apparatus includes a processor which uses a predictive model for estimating from the NMR signal a value of the parameter of interest. The apparatus may further include a conveyance device (wireline or drilling tubular) which conveys the NMR sensing apparatus into the borehole. The parameter of interest may be selected bound volume irreducible, effective porosity, bound water, clay-bound water, and/or total porosity. The NMR signal may be a spin-echo signal. The predictive model may a partial least squares regression and may be a linear model. The predictive model may be derived from NMR signals obtained from a plurality of rock samples, and/or simulated NMR signals.

Another embodiment of the invention is a machine readable medium for use with a nuclear magnetic resonance (NMR) sensing apparatus conveyed into a borehole in the earth formation. The NMR apparatus obtains an NMR signal indicative of a parameter of interest of the earth formation. The medium includes instructions which enable use of a predictive model for estimating from the NMR signal a value of the parameter of interest. The parameter of interest may be bound volume irreducible, effective porosity, bound water, clay-bound water, and/or total porosity. The medium may be a ROM, an EPROM, an EEPROM, a Flash Memory, and/or an Optical disk.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention is best understood with reference to the accompanying drawings in which like numerals refer to like elements, and in which:

FIG. 1 (Prior Art) shows a measurement-while-drilling device suitable for use with the current invention;

FIGS. 2A-2C (prior art) illustrate additional details about an exemplary NMR sensor assembly;

FIG. 3 is a flow chart illustrating steps of the present invention;

FIG. 4 is a flow chart illustrating the use of training and validation sets of samples;

FIG. 5 (Prior art) illustrates the various components of a fluid in a rock matrix;

FIG. 6 shows spin echo signals from the training set of Table I used in the present invention;

FIG. 7 shows autoscaled spin echo signals from the training set used in the present invention;

FIG. 8 shows a comparison between actual BW and the predicted BW according to the method of the present invention for the training set;

FIGS. 9 a and 9 b show synthetic NMR spin echo signals without and with additive white noise;

FIG. 10 is a plot of the predicted PHE using the method of the present invention against the actual value of PHE for the synthetic NMR signals;

FIG. 11 is a plot of the inverted PHE using a prior art method against the actual value of PHE for the synthetic NMR signals;

FIG. 12 is a plot of the inverted PHE using a prior art method against the predicted PHE from the method of the present invention for the synthetic NMR signals; and

FIGS. 13 a-13 f shows plots of predicted and actual values of other parameters of interest.

DESCRIPTION OF PREFERRED EMBODIMENT

An NMR well logging apparatus which is suitable for use with this invention is described, for example, in U.S. Pat. No. 6,247,542 to Kruspe et al., the contents of which are fully incorporated herein by reference. The device in Kruspe is for exemplary purposes only and the method of the present invention may be used with any NMR well logging apparatus including one conveyed on a wireline. As taught by Kruspe, the NMR sensor assembly is slidably coupled to the longitudinal member wherein the sensor assembly includes at least one sensor for obtaining measurements relating to the parameter of interest. When the sensor assembly is held in a non-rotating position, for instance, for obtaining the measurements, the longitudinal member is free to rotate and continue drilling the borehole. The sensor assembly is slidably coupled to the longitudinal member using, for example, at least one guide sleeve slidably coupled to the longitudinal member. The sensor assembly further includes, for example, at least one transmitter. The sensor assembly of the present invention can include any of a variety of sensors and/or transmitters for determining a plurality of parameters of interest including, for example, nuclear magnetic resonance measurements. The device of Kruspe makes it possible, for example, to obtain NMR measurements with the NMR assembly clamped to the borehole while drilling continues. It should further be noted that the method of the present invention is not limited in its applicability to in situ determination of properties of earth formations and can equally well be applied to determination of properties of rock samples, cores and fluid samples recovered from earth formations as well as to laboratory measurements.

FIG. 1 (PRIOR ART) shows a schematic diagram of a drilling system 10 with a drillstring 20 carrying a drilling assembly 90 (also referred to as the bottom hole assembly, or “BHA”) conveyed in a “wellbore” or “borehole” 26 for drilling the wellbore. The drilling system 10 includes a conventional derrick 11 erected on a floor 12 which supports a rotary table 14 that is rotated by a prime mover such as an electric motor (not shown) at a desired rotational speed. The drillstring 20 includes a tubing such as a drill pipe 22 or a coiled-tubing extending downward from the surface into the borehole 26. The drillstring 20 is pushed into the wellbore 26 when a drill pipe 22 is used as the tubing. For coiled-tubing applications, a tubing injector (not shown), however, is used to move the tubing from a source thereof, such as a reel (not shown), to the wellbore 26. The drill bit 50 attached to the end of the drillstring breaks up the geological formations when it is rotated to drill the borehole 26. If a drill pipe 22 is used, the drillstring 20 is coupled to a drawworks 30 via a Kelly joint 21, swivel 28, and line 29 through a pulley 23. During drilling operations, the drawworks 30 is operated to control the weight on bit, which is an important parameter that affects the rate of penetration. The operation of the drawworks is well known in the art and is thus not described in detail herein.

During drilling operations, a suitable drilling fluid 31 from a mud pit (source) 32 is circulated under pressure through a channel in the drillstring 20 by a mud pump 34. The drilling fluid passes from the mud pump 34 into the drillstring 20 via a desurger (not shown), fluid line 38 and Kelly joint 21. The drilling fluid 31 is discharged at the borehole bottom 51 through an opening in the drill bit 50. The drilling fluid 31 circulates uphole through the annular space 27 between the drillstring 20 and the borehole 26 and returns to the mud pit 32 via a return line 35. The drilling fluid acts to lubricate the drill bit 50 and to carry borehole cutting or chips away from the drill bit 50. A sensor S₁ preferably placed in the line 38 provides information about the fluid flow rate. A surface torque sensor S₂ and a sensor S₃ associated with the drillstring 20 respectively provide information about the torque and rotational speed of the drillstring. Additionally, a sensor (not shown) associated with line 29 is used to provide the hook load of the drillstring 20.

In one embodiment of the invention, the drill bit 50 is rotated by only rotating the drill pipe 22. In another embodiment of the invention, a downhole motor 55 (mud motor) is disposed in the drilling assembly 90 to rotate the drill bit 50 and the drill pipe 22 is rotated usually to supplement the rotational power, if required, and to effect changes in the drilling direction.

In the embodiment of FIG. 1, the mud motor 55 is coupled to the drill bit 50 via a drive shaft (not shown) disposed in a bearing assembly 57. The mud motor rotates the drill bit 50 when the drilling fluid 31 passes through the mud motor 55 under pressure. The bearing assembly 57 supports the radial and axial forces of the drill bit. A stabilizer 58 coupled to bearing assembly 57 acts as a centralizer for the lowermost portion of the mud motor assembly.

In one embodiment of the invention, a drilling sensor module 59 is placed near the drill bit 50. The drilling sensor module contains sensors, circuitry and processing software and algorithms relating to the dynamic drilling parameters. Such parameters preferably include bit bounce, stick-slip of the drilling assembly, backward rotation, torque, shocks, borehole and annulus pressure, acceleration measurements and other measurements of the drill bit condition. A suitable telemetry or communications sub 72 using, for example, two-way telemetry, is also provided as illustrated in the drilling assembly 90. The drilling sensor module processes the sensor information and transmits it to the surface control unit 40 via the telemetry system 72.

The communication sub 72, a power unit 78 and an MWD tool 79 are all connected in tandem with the drillstring 20. Flex subs, for example, are used in connecting the MWD tool 79 in the drilling assembly 90. Such subs and tools form the bottom hole drilling assembly 90 between the drillstring 20 and the drill bit 50. The drilling assembly 90 makes various measurements including the pulsed nuclear magnetic resonance measurements while the borehole 26 is being drilled. The communication sub 72 obtains the signals and measurements and transfers the signals, using two-way telemetry, for example, to be processed on the surface. Alternatively, the signals can be processed using a downhole processor in the drilling assembly 90.

The surface control unit or processor 40 also receives signals from other downhole sensors and devices and signals from sensors S₁-S₃ and other sensors used in the system 10 and processes such signals according to programmed instructions provided to the surface control unit 40. The surface control unit 40 displays desired drilling parameters and other information on a display/monitor 42 utilized by an operator to control the drilling operations. The surface control unit 40 preferably includes a computer or a microprocessor-based processing system, memory for storing programs or models and data, a recorder for recording data, and other peripherals. The control unit 40 is preferably adapted to activate alarms 44 when certain unsafe or undesirable operating conditions occur.

Referring to FIGS. 2A-2C, additional details of an exemplary NMR sensor assembly are discussed. An exemplary drilling assembly 100 at the end of a drill string 102 or coiled tubing is illustrated. A measurement-while-drilling (MWD) tool 104, an associated pulsed nuclear magnetic resonance (NMR) tool 112 (contained within a housing 114) and electronic circuitry 124, and a pulsed power unit 118 are connected in tandem in the drilling assembly 100. Flex subs 120 are used for example in connecting the MWD tool 104 and the NMR tool 112 in the drilling assembly 100. The MWD tool 104 may also include a sonic sensor, a density measurement tool, and a porosity measurement tool. A communication sub 116 using, for example, two-way telemetry, is also provided as illustrated in the drilling assembly 100. The drilling assembly is also provided with a plurality of motion sensors 152 for sensing the motion of the tool within the borehole. In a preferred embodiment of the invention, the motion sensors are accelerometers that sense the three components of acceleration of the tool.

The drilling assembly 100 includes a drill bit 106, bearing assembly 108, and downhole mud motor 110. The drill string 102 includes, for example, sections of drill pipe connected end-to-end or a generally continuous coiled. The borehole typically contains a drilling fluid 122 or “mud” which is forced through the drill string 102 and the bottom hole drilling assembly 100 through the drill bit 106. A channel 130 within the drill string 102 and drilling assembly 100 allows the drilling fluid 122 through the drill string 102 and drilling assembly 100. The drilling fluid acts to lubricate the drill bit 106 and to carry borehole cutting or chips away from the drill bit 106.

The communication sub 116, power unit 118, MWD tool 104, and NMR tool 112 are all connected in tandem with the drill string 102. Such subs and tools form a bottom hole drilling assembly 100 between the drill string 102 and the drill bit 106. Stabilizers 126 are used to stabilize and center the drilling assembly 100 and tools within the borehole. The housing 114, for example, a drilling collar, is made of a nonmagnetic alloy. The drilling assembly 100 makes various measurements including pulsed nuclear magnetic resonance measurements while the borehole is being drilled. As seen in FIG. 2B, the NMR tool is rotationally symmetric about a longitudinal axis 128 of the drilling assembly 100.

In one embodiment, pulsed NMR tool 112 includes at least two spaced-apart magnets 132 and 134 housed in the drilling assembly 100 and within the NMR tool 112 for producing a static magnetic field having a region of substantially uniform magnetic intensity in the vicinity of the borehole. The at least two spaced-apart magnets 132 and 134 are tubular in shape and arranged coaxially within the NMR tool 112 and to surround the channel 130. A radio frequency (RF) transmitting antenna or coil 136 also surrounds the channel 130 and is located, for example, between the two spaced-apart magnets 132 and 134. The RF coil 136 is connected to a suitable RF pulse transmitter such as the pulsed power unit 118 for providing power at selected frequencies and a processor 124 which drives the RF transmitting antenna or RF coil 136. The RF coil 136 is pulsed and creates a high frequency RF field orthogonal to the static magnetic field. The processor also receives the signals from the sensors indicative of the motion of the tool. The processor controls the timing of the pulse sequence on the basis of the signals from the motion sensors. The at least two magnets 132 and 134 are permanently magnetized, for example, in the axial direction and, in one embodiment, are positioned in opposing directions.

Referring now to FIG. 3, a flow chart of the method of the present invention is shown. Using the NMR device, measurements are obtained 201 on samples having a known property. These measurements are indicative of nuclear spin characteristics of the earth formation within a region of examination. The method of the present invention is described in the context of spin echo measurements, but is also applicable to other NMR measurements. These spin echo measurements are obtained using a CPMG sequence or a modified CPMG sequence 203. A common implementation of a modified CPMG sequence may be denoted as RFA _(±x) −τ−n·(RFB _(y)−τ−echo−τ)−TW  (2) where RFA_(±x) is an A pulse, usually 90° tipping pulse and RFB is a refocusing B pulse. In a conventional CPMG sequence, the B pulse has a 180° tipping angle whereas in a modified CPMG sequence the B pulse has a tipping angle less than 180°. The ±phase of RFA is applied alternately in order to identify and eliminate systematic noises, such as ringing and DC offset through subsequent processing. By subtracting the echoes in the −sequence from the pulses in the adjoining +sequence, the ringing due to the B is suppressed.

The measurements are made on a number of samples having known properties. Based on the samples with known properties, a prediction relation is derived 205 relating the measurements to the known properties. For the specific problem of NMR measurements of earth formations, the known samples may be core samples whose properties are well characterized by laboratory measurements. These may be referred to as the training set, and the process of deriving the prediction relation may be called the process of training.

For determination of the properties of an unknown sample 207, the same measurements as were made on the training samples are made 209 on the unknown sample. The prediction relation derived in 205 is then applied 211 to the measurements of the unknown sample to give a predicted value of the property of the unknown sample. In the context of the present invention, this process of applying the prediction relation is first tested on a set of samples, called the test set, for which the property is actually known. However, the samples in the test set are not used in the derivation of the prediction relation. Hence if the prediction made on the test set is in agreement with the known properties of the test set, then there is some assurance that the prediction method has some validity. Once such a confirmation of validity is made, the derived prediction method 205 can be applied to truly unknown samples, e.g., in an earth formation. The process of validation is depicted schematically in FIG. 4.

In an alternate embodiment of the invention, a different method is used for deriving the prediction relations. Rocks are defined with a known pore size distribution, and using known prior art methods, a T₂ distribution is obtained. As an example, two or three peaks of the T₂ distribution are specified with different amplitude, location and width. Synthetic NMR signals and properties of interest are then generated (215 in FIG. 3) and a prediction relation is derived 217 as discussed above. Building of a synthetic data set is not limited to this procedure, but can be modified upon any a priori knowledge of the subject of investigation.

Regardless of which of the two methods discussed with reference to FIG. 3 is used for deriving the prediction relations, total porosity PHI as well as partial porosities such as clay-bound water CBW, bound water BW, effective porosity PHE, etc. can be determined by using the well-established cutoff model which assigns part of the T₂ distribution to the different partial porosities. There is basically no limitation to replace the estimation of any NMR-related property by a prediction model. This includes properties such as permeability and capillary pressure curves which can be directly connected to an NMR signal by a prediction model. It also includes properties (e.g., water and hydrocarbon saturation) that are commonly estimated by combining NMR data with other measurements such as Resistivity, Density, Neutron, etc. People versed in the art of evaluating NMR data alone or in combination with other measurements can easily see the potential field of applications for the prediction method.

Shown in FIG. 4 is a training set 251 on which a prediction model is derived 253. Results of the prediction model are applied 255 to measurements from a test set 261. The predicted properties of the test set are compared for agreement 257 with the actual properties of the test set. If there is agreement, the prediction model is validated 263 and may be applied to truly unknown data. If there is no agreement at 257, then it is an indication that the prediction model is invalid 259 and further training is needed. In such a case, the parameters of the training set may be changed.

As an illustration of the method of the present invention, the method of the present invention is illustrated using eleven samples from the Shell Rock Catalog of Shell E&P Technology Inc. The choice of the Shell Rock Catalog is a matter of convenience. This is one of many rock catalogs that are commercially available, several of which are provided by Core Laboratories Inc. Eleven sandstone samples from the Shell Rock Catalog were selected. The specific property to which the method of the present invention is applied is that of Bound Water. Referring to FIG. 5, this is the sum of clay bound water and capillary bound water and is, at a minimum, an indication of the amount of fluid in a reservoir rock that cannot be recovered. The samples from the Shell Rock Catalog yielded the values of BW given in Table I: TABLE I BW Values for selected training samples from Shell Rock Catalog # 1 2 3 4 5 6 7 8 9 10 11 BW 12.2 6.4 7.2 11.3 3.6 12.0 14.6 3.7 8.5 11.4 15.6 (%) FIG. 6 shows the NMR spin echo signals obtained on the eleven samples. The abscissa is time in milliseconds the ordinate is the spin echo signal.

In one embodiment of the invention, a very simple prediction model was used. The specific method relied on a standard multiple regression analysis in which the independent variable was the BW (see Table I) and the dependent variables were simply the spin echo signals. A standard, off the shelf, Partial Least Squares (PLS) program of Eigenvector Research Incorporated available in conjunction with the MATLAB package was used for the PLS.

We digress briefly to summarize the different types of statistical analysis methods that could be used. The first of these is the classical least squares algorithm. The classical least square (CLS) model assumes that the echo train is a weighted sum of pure linearly independent signals (in this case exponential decays with different time constants T_(2i) similar to equation (1)).

The model equation is: y=w.P where y is the measured echo train(vector), w is a vector weights and P is a matrix of the pure exponentials. Generally, given the measured echo train y, one would like to know w weight vector to which each component of P contributes into the construction of y. This can be evaluated from: w=y.P⁺ where P⁺ is called the generalized inverse of matrix P and defined as: P ⁺ +=P ^(T)(PP ^(T))⁻¹ A drawback of the CLS is that P should contain a complete set of all possible exponential decay that spawns the echo train space and furthermore, some of the weights w could go negative which in our case has no physical meaning.

Given rock property matrix M and their corresponding echo trains matrix X we can estimate the pure components P_(est) that are extracted from X: P _(est)=(M ^(T) M)⁻¹ M ^(T) X The regression matrix will be B=(P_(est)P_(est) ^(T))⁻¹ P _(est), and the prediction can be performed as: M_(pred)=B.y

The Inverse Least Squares (ILS) regression assumes that a regression vector b can be used to extract the property y of the measured echo train x thus. x.b=y. The regression vector b must be determined from a collection of measured echo trains X with their corresponding properties y thus: b=X⁺y where X⁺ is called the partial inverse of matrix X. There are many ways to determine X⁺ the most common one is the least square. X ⁺=(X ^(T) X)⁻¹ X ^(T) Unfortunately, this approach has always a drawback, colinearity of X which for small perturbations, systems produce a linear combinations of X variables. In these cases (X^(T)X)⁻¹ would not exist as the matrix X is ill-conditioned.

Principal component regression (PCR) is one way to deal with ill-conditioned matrices (that ILS suffers from). Principal Component Analysis (PCA) is a decomposition method that finds a combination of factors, or components, that describes major trends in a matrix X. This is done by eigenvector decomposition of the covariance matrix of X. cov(X)=(X ^(T) X)/m−1 where m is the number of samples in the matrix(rows). Assuming that the matrix X is autoscaled (mean centered (mean=0 by subtracting the mean of each column) and variance scaled (varaince=1 by dividing ech column by its standard deviation)). X=TP+E

-   T scores: contains information about how measurements relate to each     other. -   P Loadings: contains information about how variables relate to each     other. -   E is the residual.

T forms an orthogonal set (t_(i) ^(T)t_(j)=0 for i≠j) and P forms an orthonoral set (p_(i) ^(T)p_(j)=0 for i≠p and =1 for i=j). The scores t_(i) of T is a linear combination of X defined by p_(i) that is to say that t_(i) is the projection of X on p_(i). Xp_(i)=t_(i) Thus the X⁺ in the PCR regression is estimated as: X ⁺ =P(T ^(T) T)⁻¹ T ^(T) and

-   b=X⁺y (b is the regression vector we are looking for)     It is to be noted that the PCA and subsequently the PCR relies     heavily on the number of major components that need to be taken into     account. The PCA decomposition is a known method to reduce signal     space and in some case reduce noise in the matrix X by taken only     few components in reconstructing the matrix X. When taking all     decomposition components while regressing, the PCR converges to the     ILS solution.

Partial Least Squares (PLS) is a regression that decompose the matrix X while taking into account the relationship that exists between the scores of the X matrix and the scores of the Y matrix. It deals with ill-conditioned matrices (that ILS suffers from) similar to PCR and provide a biased regression vector towards the Y matrix. PCR and PLS regression differ in the methods used in extracting factor scores. In short, PCR produces the weight matrix W reflecting the covariance structure between the X matrix variables, while PLS produces the weight matrix W reflecting the covariance structure between the X matrix and the Y matrix variables.

The modeling equations for PLS are: X=TP ^(T) +E (similar to PCR) Y=UC ^(T) +F U=bT (b is the regression vector that encapsulates the inner relation between X and Y scores.)

Referring now to FIG. 6, conventional pre-processing of the data in FIG. 6 may be done by autoscaling. Shown in FIG. 6 are spin echo signals for the eleven samples of Table 1. The preprocessing includes subtracting the mean value of each of the signals to reduce it to zero mean, and normalization to make the variance of each of the signals the same (such as unity, for convenience). The result is given in FIG. 7. The independent variables are also pre-processed in the same way to give the values in Table II: TABLE II Autoscaled BW Values for selected training samples from Shell Rock Catalog # 1 2 3 4 5 6 7 8 9 10 11 BW 0.62 −0.80 −.61 .40 −1.49 0.57 1.20 −1.47 −.29 0.42 1.45 (%)

To summarize, if we denote the BW values by y_(i), i=1, 2 . . . n then the autoscaled BW values may be denoted by $\begin{matrix} {{{\hat{y}}_{i} = \frac{y_{i} - \overset{\_}{y}}{\sigma}}{where}} & (2) \\ {{\overset{\_}{y} = \frac{\sum\limits_{i = 1}^{n}\quad y_{i}}{n}}{and}} & (3) \\ {\sigma = {\left\lbrack \frac{{\sum\limits_{i = 1}^{n}\quad y_{i}} - {\overset{\_}{y}}^{2}}{n - 1} \right\rbrack^{1/2}.}} & (4) \end{matrix}$ The independent variable for the regression is the vector {right arrow over (y)}=(ŷ₁, ŷ₂, . . . ŷ_(n))  (5) The data matrix may be denoted by X═({right arrow over (x)}₁, {right arrow over (x)}₂, . . . {right arrow over (x)}_(N))  (6) where {right arrow over (x)}_(i)=(x_(i1), x_(i2), x_(iM))  (7) are the individual echo trains M time samples long. The individual echo trains are autoscaled in the same fashion as the y vector. This then gives an autoscaled data matrix {circumflex over (X)}=[{circumflex over (x)}_(ij)], i=1, 2, . . . M; j=1,2 . . . N.

By the regression analysis, we come up with a simple relation that gives a predicted value for the autoscaled BW as $\begin{matrix} {{\hat{y}}_{{pred},i} = {{\sum\limits_{k = 1}^{M}\quad{a_{k}{\hat{x}}_{ik}}} + {b_{i}.}}} & (8) \end{matrix}$ From this, we can recover the unscaled predicted BW. A plot of the unscaled BW against the actual BW appears in FIG. 8. The abscissa is the actual value of BW and the ordinate is the predicted value. Agreement is good and the standard error of the fit is 1.297×10⁻⁶ (obtained from numerical analysis, not apparent from the plot).

The regression model was then validated by applying it to spin echo signals from samples from the Shell Rock Catalog that were not part of the original regression signals. The signals from these additional samples may be called validation signals, i.e., signals obtained from a validation data set used for validating the regression model. The results are summarized in Table III TABLE III Comparison of prediction from model with actual BW of validation samples from the Shell Rock Catalog Sample Name Predicted BW Actual BW T2RCS10 3.0004 3.0 T2RCS19 5.9930 6.0 T2RCS58 10.8772 10.9 T2RCS61 4.4256 4.4 As can be seen, the agreement between the predicted values using the PLS and the actual values of BW is excellent.

Another example demonstrates the use of the method of the present invention for determination of effective porosity from NMR signals. In this example, the training and validation (derivation of prediction relations) is done on synthetic samples (215, 217 in FIG. 3). The top portion of FIG. 9 shows an example of ten synthetic echo trains while the bottom portion of FIG. 9 shows the ten synthetic echo trains with added white noise. FIG. 10 shows the predicted effective porosity (ordinate) plotted agains the true effective porosity (abscissa). A total of 200 samples are shown. The regression line 301 and the one standard deviation lines 305 are shown. The standard deviation is 0.7 pu.

To compare the results of the PLS method with prior art methods, the same data were taken and conventional processing was done. The conventional processing comprised an inversion of the echo trains to get a T₂ distribution, and determining from the T₂ distribution the effective porosity. We refer to this as the “inverted PHE” results. Shown in FIG. 11 is a plot of the inverted PHE (ordinate) against the true porosity (abscissa). The standard deviation of 0.56 pu is slightly less than the results obtained with the PLS.

FIG. 12 is a plot of the inverted PHE against the predicted porosity from PLS. The standard deviation is smaller than for FIG. 11. This is an indication that the additive noise on the synthetic echo trains (FIG. 9) affected both the PLS method and the inverted PHE results in a similar manner.

FIGS. 13 a-f shows exemplary plots of other parameters of interest that can be obtained from NMR signals using the method of the present invention. Shown in FIG. 13 a is a plot of predicted CBW against actual CBW; shown in FIG. 13 b is a plot of predicted total porosity against actual total porosity; FIG. 13 c is a plot for BVI with a cutoff time appropriate for sandstones; FIG. 13 d is a plot of BVI with a cutoff time appropriate for carbonates; FIG. 13 e is a plot of BW with a sandstone cutoff; and FIG. 13 f is a plot of BW with a carbonate cutoff.

Having demonstrated the applicability of the PLS analysis method for prediction of BW, PHE, BVI, CBW, and BW on rock samples, it is straightforward to apply the results of the regression to in situ measurements made with a MWD or wireline NMR logging device. For the purposes of this invention, these measured signals from samples having unknown characteristics may be called evaluation signals (to distinguish them from the training signals used for derivation of the regression and the validation signals used for validating the regression). A specific example of a MWD device has been described, but any suitable device could be used. The method is equally applicable to wireline conveyed NMR instruments. The method directly determines parameters of interest of the earth formation such as the BW, PHE, BVI, CBW, and BW from the NMR signals. By “direct determination” is meant that given a NMR signal, the parameter of interest is obtained by direct application of a simple mathematical operator to the signal. Eqn. (8) is an example of a linear mathematical operator.

In the examples given, a linear regression was adequate to relate a parameter of the earth formation to NMR spin echo signals. When a linear regression is not adequate, it is possible to use nonlinear regression methods to improve the fit to the data. The method is equally applicable to nonlinear regression. As would be known to those versed in the art, increasing the number of dependent variables (e.g., by adding nonlinear terms) will give a better fit, but the fit will have reduced statistical significance. The PLS package provides various measures of the goodness of fit and those versed in statistical analysis would be familiar with tests, such as the F ratio test, to assess the quality of the fit (prediction model). The F test is a well known test based on the number of independent variables and the number of dependent variables, and is not discussed here. The examples presented have involved sandstone samples. The method is equally applicable to other types of rocks, such as carbonate rocks.

In an alternate embodiment of the invention, it is not necessary to obtain actual rock samples for doing the training and the validation. For example, in a reservoir development, measurements may be made using a NMR logging tool in a first borehole and a detailed analysis of NMR signals is carried out using prior art methods that require intensive computations. The results of this analysis are applied for both the training set, validation set and the test set using regression method described above. The results of the regression method can then be used in subsequent boreholes drilled in the same geographic area to give real time estimates of the formation properties: application of the results of the predictive model of the present invention is quite straightforward and does not require much computing power. Alternatively, the training and validation may be done in a first portion of the borehole and the results applied in a second portion of the borehole. For MWD applications, the first portion could be the shallow portion of the borehole, so that at deeper depths, estimation of the formation properties can be done speedily.

Some of the processing of the data may be done by a downhole processor to give estimates of formation parameters substantially in real time. These can then be telemetered to the surface. Alternatively, the measurements could be recorded downhole, retrieved when the drillstring is tripped, and processed using a surface processor. Implicit in the control and processing of the data is the use of a computer program on a suitable machine readable medium that enables the processor to perform the control and processing. The machine readable medium may include ROMs, EPROMs, EEPROMs, Flash Memories and Optical disks.

While the foregoing disclosure is directed to the specific embodiments of the invention, various modifications will be apparent to those skilled in the art. It is intended that all variations within the scope of the appended claims be embraced by the foregoing disclosure. 

1. A method of determining a parameter of interest of an earth formation, the method comprising: (a) conveying a nuclear magnetic resonance (NMR) sensing apparatus into a borehole in the earth formation; (b) obtaining an NMR signal indicative of the parameter of interest from the earth formation; (c) using a predictive model for estimating from the NMR signal a value of the parameter of interest.
 2. The method of claim 1 further conveying the NMR sensing apparatus on one of (i) a wireline, and (ii) a bottomhole assembly on a drilling tubular.
 3. The method of claim 1 wherein the parameter of interest is selected from the group consisting of (i) bound volume irreducible, (ii) effective porosity, (iii) bound water, (iv) clay-bound water, and (v) total porosity.
 4. The method of claim 1 wherein the NMR signal comprises a spin echo signal.
 5. The method of claim 4 further comprising obtaining the spin echo signal by pulsing the earth formation with a radio frequency pulse sequence selected from (i) a CPMG sequence, and (ii) a modified CPMG sequence having refocusing pulses with a tip angles less than 180°.
 6. The method of claim 1 wherein the predictive model is obtained using a partial least squares regression.
 7. The method of claim 1 wherein the predictive model comprises a linear model.
 8. The method of claim 1 wherein the predictive model is derived from at least one of (i) NMR signals obtained from a plurality of rock samples, and (ii) a plurality of simulated NMR signals.
 9. The method of claim 1 further comprising validating the predictive model prior to the use of the predictive model.
 10. The method of claim 1 wherein the earth formation comprises a material selected from the group consisting of (i) a sandstone, and (ii) a carbonate.
 11. An apparatus for determining a parameter of interest of an earth formation, the apparatus comprising: (a) a nuclear magnetic resonance (NMR) sensing apparatus conveyed into a borehole in the earth formation, the NMR apparatus obtaining an NMR signal indicative of the parameter of interest from the earth formation; (c) a processor which uses a predictive model for estimating from the NMR signal a value of the parameter of interest.
 12. The apparatus of claim 11 further comprising a conveyance device which conveys the NMR sensing apparatus into the borehole, the conveyance device selected from the group consisting of (i) a wireline, and (ii) a drilling tubular.
 13. The apparatus of claim 11 wherein the parameter of interest is selected from the group consisting of (i) bound volume irreducible, (ii) effective porosity, (iii) bound water, (iv) clay-bound water, and (v) total porosity.
 14. The apparatus of claim 11 wherein the NMR signal comprises a spin echo signal.
 15. The apparatus of claim 14 wherein the NMR sensing apparatus further comprises an antenna which pulses the earth formation with a radio frequency pulse sequence selected from (i) a CPMG sequence, and (ii) a modified CPMG sequence having refocusing pulses with a tip angles less than 180°.
 16. The apparatus of claim 11 wherein the predictive model is comprises a partial least squares regression.
 17. The apparatus of claim 11 wherein the predictive model comprises a linear model.
 18. The apparatus of claim 11 wherein the predictive model is derived from at least one of (i) NMR signals obtained from a plurality of rock samples, and (ii) a plurality of simulated NMR signals.
 19. A machine readable medium for use with a nuclear magnetic resonance (NMR) sensing apparatus conveyed into a borehole in the earth formation, the NMR apparatus obtaining an NMR signal indicative of a parameter of interest from the earth formation; the medium comprising instructions which enable use of a predictive model for estimating from the NMR signal a value of the parameter of interest.
 20. The medium of claim 19 wherein the instructions further enable determination of at least one of (i) bound volume irreducible, (ii) effective porosity, (iii) bound water, (iv) clay-bound water, and (v) total porosity.
 21. The medium of claim 20 comprising at least one of (i) a ROM, (ii) an EPROM, (iii) an EEPROM, (iv) a Flash Memory, and, (v) an Optical disk. 